/**  
 * All rights Reserved, Designed By www.xiaozhanjiaoyu.cn
 * @Title:  AuthCode.java   
 * @Package javaapplication   
 * @Description:    TODO(用一句话描述该文件做什么)   
 * @author: knight.lu     
 * @date:   2018年11月22日 下午7:24:52   
 * @version V1.0 
 * @Copyright: 2018 www.xiaozhanjiaoyu.cn Inc. All rights reserved. 
 * 
 */
package com.component;

import com.alibaba.nls.client.protocol.NlsClient;

/**   
 * @ClassName:  AuthCode   
 * @Description:TODO(这里用一句话描述这个类的作用)   
 * @author: knight.lu 
 * @date:   2018年11月22日 下午7:24:52   
 *     
 */
public class AliAuthService {
	
	// 语音识别相关
	public static String APP_KEY = "MuqljZ3p8rn7l2aS";
	public static String ACCESS_TOKEN = "e05bccae12b2491fa5f9dd3b837233df";
	
	//文本分词相关
	public static String APP_CODE = "c4c769b1ecd44093ab6f9449726a0e50";
	public static final String HOST = "http://wbfxfc.market.alicloudapi.com";
	public static final String PATH = "/rest/160601/text_analysis/aliws.json";
	
	
	public synchronized static NlsClient createClient() {
		return new NlsClient(ACCESS_TOKEN);
	}
}
